package day03;

import java.util.Scanner;

public class OperDemo {
    public static void main(String[] args) {
        int age=23;
        System.out.println("age=");
        System.out.println(age);
        System.out.println("age="+age);
        System.out.println(10+20+""+30);
        int a=16,b=10;
        int max=a>b?a:b;
        System.out.println(max);
        int num=5;
        if (num%2==0){
            System.out.println("偶数");
        } else{
            System.out.println("奇数");
        }























        /*
        int a=5;
        a+=10;
        System.out.println(a);
        a*=2;
        System.out.println(a);
        a/=6;
        System.out.println(a);
        short s=10;
        s*=5;
        System.out.println(s);

         */








































        /*
        int a=2;
        ++a;
        System.out.println(a);
        System.out.println(a++);
        System.out.println(a);
        int b=6;
        b++;
        System.out.println(b);
        System.out.println(--b);
        System.out.println(b);

        int e=5,f=6,c=5;
        System.out.println(a<b);//t
        System.out.println(e!=c);//f
        System.out.println(f==c);//f
        System.out.println(e==c);//t
        System.out.println(f--<=c);//f
        System.out.println(f<=c);//t
        System.out.println(++e>c);//t

         */

    }
}
